package org.lanqiao.tjut.seriver.impl;

import java.util.List;

import javax.annotation.Resource;

import org.lanqiao.tjut.bean.OpeBean;
import org.lanqiao.tjut.dao.OpeDao;
import org.lanqiao.tjut.seriver.OpeService;
import org.springframework.stereotype.Service;

@Service("OpeService")
public class OpeInfoService implements OpeService {
	@Resource
	private OpeDao opeDao;

	@Override
	public OpeBean selectByOpeIndex(String opreatorIndex) {

		return opeDao.selectByOpeIndex(opreatorIndex);
	}

	@Override
	public OpeBean selectByOpeAccount(String opreatorAccount) {

		return opeDao.selectByOpeAccount(opreatorAccount);
	}

	@Override
	public List<OpeBean> selectAllOpes() {

		return opeDao.selectAllOpes();
	}

	@Override
	public int insertOpeInfo(OpeBean opeB) {

		return opeDao.insertOpeInfo(opeB);
	}

	@Override
	public int updateOpeByIndex(OpeBean opeB) {

		return opeDao.updateOpeByIndex(opeB);
	}

	@Override
	public List<OpeBean> selectOpeInfoDynamic(OpeBean opeB) {

		return opeDao.selectOpeInfoDynamic(opeB);
	}

	@Override
	public int deleteByOpeIndex(OpeBean opeB) {

		return opeDao.deleteByOpeIndex(opeB);
	}

	@Override
	public OpeBean selectByOpeName(String opreatorName) {

		return opeDao.selectByOpeName(opreatorName);
	}

}
